package com.dk.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2021-10-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_car")
@ApiModel(value="TCar对象", description="")
public class TCar implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "车辆名称")
    private String name;

    @ApiModelProperty(value = "图片")
    private String image;

    @ApiModelProperty(value = "上牌时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date cardTime;

    @ApiModelProperty(value = "里程数")
    private Integer mileage;

    @ApiModelProperty(value = "审核状态0未审核,1审核通过,2审核不通过,8回收车")
    private Integer status;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "原厂价格")
    private BigDecimal guidedPrice;

    @ApiModelProperty(value = "车身颜色")
    private String color;

    @ApiModelProperty(value = "车主")
    private String adminId;

    @ApiModelProperty(value = "商家id")
    private String sellerId;

    @ApiModelProperty(value = "车牌归属地")
    private String licencePlate;

    @ApiModelProperty(value = "点击量")
    private Integer count;

    @ApiModelProperty(value = "标签")
    private String label;

    @ApiModelProperty(value = "厂商")
    private String vendor;

    @ApiModelProperty(value = "能源形式")
    private String energy;

    @ApiModelProperty(value = "过户次数")
    private Integer transferOwnershipNum;

    @ApiModelProperty(value = "生产方式")
    private String production;

    @ApiModelProperty(value = "发动机型号")
    private String engine;

    @ApiModelProperty(value = "油耗")
    private Integer consumption;

    @ApiModelProperty(value = "座位数")
    private Integer seating;

    @ApiModelProperty(value = "质保")
    private String assurance;

    @ApiModelProperty(value = "排量")
    private String displacement;

    @ApiModelProperty(value = "燃油标号(92 95 98)")
    private String fuel;

    @ApiModelProperty(value = "每缸气门数")
    private Integer valveNum;

    @ApiModelProperty(value = "最大马力")
    private String maxHorsepower;

    @ApiModelProperty(value = "最大功率")
    private String maxPower;

    @ApiModelProperty(value = "气缸数")
    private Integer cylinderNum;

    @ApiModelProperty(value = "最大功率转速")
    private String maxSpeed;

    @ApiModelProperty(value = "最大扭矩")
    private Integer maxTorque;

    @ApiModelProperty(value = "变速箱")
    private String transmission;

    @ApiModelProperty(value = "档位个数")
    private Integer gearNum;

    @ApiModelProperty(value = "油箱容积")
    private Integer tankVolume;

    @ApiModelProperty(value = "车身长")
    private Integer length;

    @ApiModelProperty(value = "车身宽")
    private Integer weight;

    @ApiModelProperty(value = "车身高")
    private Integer height;

    @ApiModelProperty(value = "车门数")
    private Integer doorNum;

    @ApiModelProperty(value = "质量")
    private Integer quality;

    @ApiModelProperty(value = "介绍")
    private String introduction;

    @ApiModelProperty(value = "前轮距")
    private Integer frontGauge;

    @ApiModelProperty(value = "后轮距")
    private Integer trackRear;

    @ApiModelProperty(value = "最小离地间隙")
    private Integer minGroundClearance;

    @ApiModelProperty(value = "行李箱容积")
    private String trunkVolume;

    @ApiModelProperty(value = "驱动方式")
    private String driveWay;

    @ApiModelProperty(value = "驻车制动类型")
    private String parkingBrakeType;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "逻辑删除")
    private Integer deleted;

    @ApiModelProperty(value = "版本控制")
    private Integer version;


}
